package com.turnengine.client.global.translation.command;

import com.javabi.codebuilder.generated.IGeneratedCommand;
import com.javabi.common.locale.LanguageCountry;
import com.turnengine.client.global.command.IGlobalExecutableCommand;
import com.turnengine.client.global.translation.bean.ITranslation;

/**
 * The I Get Translation By Text.
 */
public interface IGetTranslationByText extends IGeneratedCommand, IGlobalExecutableCommand<ITranslation>, Comparable<IGetTranslationByText> {

	/**
	 * Returns the english.
	 * @return the english.
	 */
	String getEnglish();

	/**
	 * Returns the language.
	 * @return the language.
	 */
	LanguageCountry getLanguage();

	/**
	 * Sets the english.
	 * @param english the english to set.
	 */
	void setEnglish(String english);

	/**
	 * Sets the language.
	 * @param language the language to set.
	 */
	void setLanguage(LanguageCountry language);
}
